using UIFramework.Panel;
using UIFramework.Window;
using UnityEngine;

namespace UIFramework.Core
{
    /// <summary>
    /// 界面属性接口
    /// </summary>
    public interface IScreenProperties
    {
        
    }
    
    /// <summary>
    /// 面板属性的接口
    /// </summary>
    public interface IPanelProperties : IScreenProperties
    {
        [Tooltip("面板位于的层")]
        PanelPriority Priority { get; set; }
    }

    /// <summary>
    /// 窗口的属性接口
    /// </summary>
    public interface IWindowProperties : IScreenProperties
    {
        [Tooltip("控制窗口优先级")]
        WindowPriority WindowQueuePriority { get; set; }
        [Tooltip("当其他窗口被前置时，当前窗口是否隐藏")]
        bool HideOnForegroundLost { get; set; }
        [Tooltip("表示窗口是否为弹出窗口")]
        bool IsPopup { get; set; }
        [Tooltip("是否覆盖预制体中的属性")]
        bool SuppressPrefabProperties { get; set; }
    }
}